#include"vector.h"
#include<vector>
void func(const ly::vector<string>& nums) {
	auto it = nums.begin();
	while (it != nums.end()) {
		cout << *it << ' ';
		++it;
	}
	cout << endl;
}
int main()
{
	//ly::vector<string> nums(4);
	ly::vector<string> nums(4,string("111"));
	auto it1 = nums.begin();
	auto it = nums.begin();
	cout << it.operator->() << endl;;
	cout << *it << endl;
	//std::vector<int> nums2(4, 1);
	//std::vector<int>::iterator it2 = nums2.begin();
	//std::vector<string> s(4);
	for (auto e : nums)
		cout << e << ' ';
	//ly::vector<string> nums1(nums);
	/*for (auto e : nums1)
		cout << e << ' ';*/
	func(nums);
	return 0;
}